import request from '../request.js'

function list(query) {
	return request.get('/api/biddingExpenditure/list', query)
}
function detail(query) {
	return request.get('/api/biddingExpenditure/detail', query)
}
function add(data) {
	return request.post('/api/biddingExpenditure/add', data)
}
function update(data) {
	return request.post('/api/biddingExpenditure/update', data)
}
function del(data) {
	return request.post('/api/biddingExpenditure/del', data)
}
function types() {
	return request.get('/api/biddingExpenditure/types')
}

export default {
    list,
    detail,
    add,
    update,
    del,
    types,
}